﻿using System;
using System.ComponentModel.DataAnnotations;
using BCDto.TMS.Driver.DriverExamine;

namespace BCDto.TMS.Driver.DriverLearnDatum
{
    public class DriverLearnDatumAnswerViewDto
    {
        private DriverExamineTestQuestionAnswerDto[] answers;
        /// <summary>
        /// 学习资料
        /// </summary> 
        [Display(Name = "学习资料")]
        public DriverLearnDatumDto LearnDatum { get;set;} 
        
        /// <summary>
        /// 答案
        /// </summary>
        [Display(Name = "答案")]
        public DriverExamineTestQuestionAnswerDto[] Answers
        {
            get { return this.answers ?? new DriverExamineTestQuestionAnswerDto[0]; }
            set { this.answers = value; }
        }
       
    }
}
